{"ast":null,"code":"var _jsxFileName = \"/data/messenger.client/src/containers/Contact.tsx\",\n  _s = $RefreshSig$();\nimport React from \"react\";\nimport { Context } from \"../index\";\nimport { observer } from \"mobx-react-lite\";\nimport { EmptySelectedUser, UserProfile } from \"../components\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst Contact = () => {\n  _s();\n  const {\n    store\n  } = React.useContext(Context);\n  if (store.getViewedUserProfile()) {\n    return /*#__PURE__*/_jsxDEV(UserProfile, {\n      profile: store.getViewedUserProfile(),\n      selfProfile: false\n    }, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 11,\n      columnNumber: 13\n    }, this);\n  } else {\n    return /*#__PURE__*/_jsxDEV(EmptySelectedUser, {}, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 17,\n      columnNumber: 17\n    }, this);\n  }\n};\n_s(Contact, \"fWWYyndAah+pK9pcP7nWnrsVVfw=\");\n_c = Contact;\nexport default _c2 = observer(Contact);\nvar _c, _c2;\n$RefreshReg$(_c, \"Contact\");\n$RefreshReg$(_c2, \"%default%\");","map":{"version":3,"names":["React","Context","observer","EmptySelectedUser","UserProfile","Contact","store","useContext","getViewedUserProfile"],"sources":["/data/messenger.client/src/containers/Contact.tsx"],"sourcesContent":["import React from \"react\";\nimport {Context} from \"../index\";\nimport {observer} from \"mobx-react-lite\";\nimport {EmptySelectedUser, UserProfile} from \"../components\";\n\nconst Contact:React.FC = () => {\n    const {store} = React.useContext(Context);\n\n    if (store.getViewedUserProfile()) {\n        return (\n            <UserProfile\n                profile={store.getViewedUserProfile()}\n                selfProfile={false}\n            />\n        );\n    } else {\n        return (<EmptySelectedUser />);\n    }\n};\n\nexport default observer(Contact);"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAQC,OAAO,QAAO,UAAU;AAChC,SAAQC,QAAQ,QAAO,iBAAiB;AACxC,SAAQC,iBAAiB,EAAEC,WAAW,QAAO,eAAe;AAAC;AAE7D,MAAMC,OAAgB,GAAG,MAAM;EAAA;EAC3B,MAAM;IAACC;EAAK,CAAC,GAAGN,KAAK,CAACO,UAAU,CAACN,OAAO,CAAC;EAEzC,IAAIK,KAAK,CAACE,oBAAoB,EAAE,EAAE;IAC9B,oBACI,QAAC,WAAW;MACR,OAAO,EAAEF,KAAK,CAACE,oBAAoB,EAAG;MACtC,WAAW,EAAE;IAAM;MAAA;MAAA;MAAA;IAAA,QACrB;EAEV,CAAC,MAAM;IACH,oBAAQ,QAAC,iBAAiB;MAAA;MAAA;MAAA;IAAA,QAAG;EACjC;AACJ,CAAC;AAAC,GAbIH,OAAgB;AAAA,KAAhBA,OAAgB;AAetB,qBAAeH,QAAQ,CAACG,OAAO,CAAC;AAAC;AAAA;AAAA"},"metadata":{},"sourceType":"module"}